$OpenBSD: patch-spectrwm_c,v 1.6 2014/03/20 14:51:29 gonzalo Exp $
--- spectrwm.c.orig	Wed Feb 26 11:45:42 2014
+++ spectrwm.c	Tue Mar 18 13:53:24 2014
@@ -300,7 +300,7 @@ uint32_t		swm_debug = 0
 #define SWM_CONF_KEYMAPPING	(1)
 
 #ifndef SWM_LIB
-#define SWM_LIB			"/usr/local/lib/libswmhack.so"
+#define SWM_LIB			"${PREFIX}/lib/libswmhack.so"
 #endif
 
 char			**start_argv;
